import { ref, computed } from 'vue'
import { defineStore } from 'pinia'
import type {travelObject} from '@/api/travel/type'
export const usetravelStore = defineStore('travel', () => {
 
  const traveldata = ref<travelObject>()

  const modifytraveldata = (data: travelObject) => {
    traveldata.value = data
  }

  return {
    traveldata,
    modifytraveldata
  }
})